package cn.iocoder.yudao.module.measure.events;

import cn.iocoder.yudao.module.measure.dal.dataobject.warning.BusinessDeviceWarnRecord;
import org.springframework.context.ApplicationEvent;

import java.time.Clock;

public class BusinessDeviceWarnRecordEvent extends ApplicationEvent {
    public BusinessDeviceWarnRecordEvent(Object source, Clock clock) {
        super(source, clock);
    }

    public BusinessDeviceWarnRecordEvent(Object source) {
        super(source);
    }

    @Override
    public BusinessDeviceWarnRecord getSource() {
        return (BusinessDeviceWarnRecord) super.getSource();
    }
}
